package command;

public class HelpCommand {

    public HelpCommand(){};

    public void excute(){
        System.out.println("usage: jit [--version] [--help] [-C <path>] [-c name=value]\r\n" +
                "           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]\r\n" +
                "           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]\r\n" +
                "           [--git-dir=<path>] [--work-Tree=<path>] [--namespace=<name>]\r\n" +
                "           <command> [<args>]\r\n" +
                "\r\n" +
                "These are common Jit commands used in various situations:\r\n" +
                "\r\n" +
                "start a working area\r\n" +
                "   init       Create an empty Jit Repository or reinitialize an existing one\r\n" +
                "\r\n" +
                "work on the current change\r\n" +
                "   add        Add file contents to the index\r\n" +
                "   reset      Reset current HEAD to the specified state\r\n" +
                "   rm         Remove files from the working Tree and from the index\r\n" +
                "\r\n" +
                "examine the history and state\r\n" +
                "   log        Show Commit logs\r\n" +
                "   status     Show the working Tree status\r\n" +
                "\r\n" +
                "grow, mark and tweak your common history\r\n" +
                "   branch     List, create, or delete branches\r\n" +
                "   checkout   Switch branches or restore working Tree files\r\n" +
                "   Commit     Record changes to the Repository\r\n" +
                "   diff       Show changes between commits, Commit and working Tree, etc\r\n" +
                "   merge      Join two or more development histories together\r\n" +
                "\r\n" +
                "'jit help -a' and 'jit help -g' list available subcommands and some\r\n" +
                "concept guides. See 'jit help <command>' or 'jit help <concept>'\r\n" +
                "to read about a specific subcommand or concept.");
    }
}
